package com.lebang.mapper;

import com.lebang.domain.LogoutRecord;
import com.lebang.example.LogoutRecordExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * LogoutRecordMapper继承基类
 */
@Mapper
public interface LogoutRecordMapper extends MyBatisBaseDao<LogoutRecord, Integer, LogoutRecordExample> {

    void updateStatueById(@Param("status") int status, @Param("id") Long id);

    LogoutRecord selectOneById(@Param("id") Long id);

    LogoutRecord selectOneByMemberId(@Param("memberId") String memberId,@Param("status") Integer status);
}